<template>
  <div id="nav_bar">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="center">
      <slot name="center"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>
<script>
export default {
  name: "NavBar",
  components: {}
};
</script>
<style>
#nav_bar {
  position: relative;
  display: flex;
  height: 44px;
  width: 100%;
  line-height: 44px;
  top: 0;
}
.left {
  width: 60px;
}
.center {
  flex: 1;
  text-align: center;
}
.right {
  width: 60px;
}
</style>
